PluginProbe
User Access Manager / 1.0 Beta
User Access Manager v1.0 Beta
2.3.20 2.3.19 2.3.18 2.3.17 2.3.16 2.3.15 2.3.14 2.3.13 trunk 0.6 0.6.1 0.6.2 0.7 0.7 Beta 0.7.0.1 0.8 0.8.0.1 0.8.0.2 0.9 0.9.1 0.9.1.1 0.9.1.2 0.9.1.3 0.9.1.4 1.0 All 136 releases
user-access-manager / tpl / adminSettings.php

adminSettings.php in User Access Manager 1.0 Beta, at tpl/adminSettings.php

619 lines 20.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * adminSettings.php
4 *
5 * Shows the setting page at the admin panel.
6 *
7 * PHP versions 5
8 *
9 * @category UserAccessManager
10 * @package UserAccessManager
11 * @author Alexander Schneider <alexanderschneider85@googlemail.com>
12 * @copyright 2008-2010 Alexander Schneider
13 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2
14 * @version SVN: $Id$
15 * @link http://wordpress.org/extend/plugins/user-access-manager/
16 */
17 global $userAccessManager;
18 $uamOptions = $userAccessManager->getAdminOptions();
19
20 if (isset($_POST['update_uam_settings'])) {
21 if ($_POST['uam_full_access_level'] > 10
22 || !is_numeric($_POST['uam_full_access_level'])
23 ) {
24 $_POST['uam_full_access_level'] = 10;
25 }
26
27 foreach ($uamOptions as $option => $value) {
28 if (isset($_POST['uam_' . $option])) {
29 $uamOptions[$option] = $_POST['uam_' . $option];
30 }
31 }
32
33 update_option($this->adminOptionsName, $uamOptions);
34
35 if ($_POST['uam_lock_file'] == 'false') {
36 $userAccessManager->deleteHtaccessFiles();
37 } else {
38 $userAccessManager->createHtaccess();
39 $userAccessManager->createHtpasswd(true);
40 }
41 ?>
42 <div class="updated">
43 <p><strong><?php echo TXT_UPDATE_SETTINGS; ?></strong></p>
44 </div>
45 <?php
46 }
47 ?>
48
49 <div class="wrap">
50 <form method="post" action="<?php echo $_SERVER["REQUEST_URI"]; ?>">
51 <h2><?php echo TXT_SETTINGS; ?></h2>
52 <h3><?php echo TXT_POST_SETTING; ?></h3>
53 <p><?php echo TXT_POST_SETTING_DESC; ?></p>
54 <table class="form-table">
55 <tbody>
56 <tr valign="top">
57 <th scope="row"><?php echo TXT_HIDE_POST; ?></th>
58 <td>
59 <label for="uam_hide_post_yes">
60 <input type="radio" id="uam_hide_post_yes" class="uam_hide_post" name="uam_hide_post" value="true" <?php
61 if ($uamOptions['hide_post'] == "true") {
62 echo 'checked="checked"';
63 }
64 ?> />
65 <?php echo TXT_YES; ?>
66 </label>&nbsp;&nbsp;&nbsp;&nbsp;
67 <label for="uam_hide_post_no">
68 <input type="radio" id="uam_hide_post_no" class="uam_hide_post" name="uam_hide_post" value="false" <?php
69 if ($uamOptions['hide_post'] == "false") {
70 echo 'checked="checked"';
71 }
72 ?> />
73 <?php echo TXT_NO; ?>
74 </label> <br />
75 <?php echo TXT_HIDE_POST_DESC; ?>
76 </td>
77 </tr>
78 </tbody>
79 </table>
80 <table class="form-table" id="uam_post_settings">
81 <tbody>
82 <tr valign="top">
83 <th scope="row"><?php echo TXT_DISPLAY_POST_TITLE; ?></th>
84 <td>
85 <label for="uam_hide_post_title_yes">
86 <input type="radio" id="uam_hide_post_title_yes" name="uam_hide_post_title" value="true" <?php
87 if ($uamOptions['hide_post_title'] == "true") {
88 echo 'checked="checked"';
89 }
90 ?> />
91 <?php echo TXT_YES; ?>
92 </label>&nbsp;&nbsp;&nbsp;&nbsp;
93 <label for="uam_hide_post_title_no">
94 <input type="radio" id="uam_hide_post_title_no" name="uam_hide_post_title" value="false" <?php
95 if ($uamOptions['hide_post_title'] == "false") {
96 echo 'checked="checked"';
97 }
98 ?> />
99 <?php echo TXT_NO; ?>
100 </label> <br />
101 <?php echo TXT_DISPLAY_POST_TITLE_DESC; ?>
102 </td>
103 </tr>
104 <tr valign="top">
105 <th scope="row"><?php
106 echo TXT_POST_TITLE; ?></th>
107 <td>
108 <input name="uam_post_title" value="<?php echo $uamOptions['post_title']; ?>" /> <br />
109 <?php echo TXT_POST_TITLE_DESC; ?>
110 </td>
111 </tr>
112 <tr valign="top">
113 <th scope="row"><?php echo TXT_SHOW_POST_CONTENT_BEFORE_MORE; ?></th>
114 <td>
115 <label for="uam_show_post_content_before_more_yes">
116 <input type="radio" id="uam_show_post_content_before_more_yes" name="uam_show_post_content_before_more" value="true" <?php
117 if ($uamOptions['show_post_content_before_more'] == "true") {
118 echo 'checked="checked"';
119 }
120 ?> />
121 <?php echo TXT_YES; ?>
122 </label>&nbsp;&nbsp;&nbsp;&nbsp;
123 <label for="uam_show_post_content_before_more_no">
124 <input type="radio" id="uam_show_post_content_before_more_no" name="uam_show_post_content_before_more" value="false" <?php
125 if ($uamOptions['show_post_content_before_more'] == "false") {
126 echo 'checked="checked"';
127 }
128 ?> />
129 <?php echo TXT_NO; ?>
130 </label> <br />
131 <?php echo TXT_SHOW_POST_CONTENT_BEFORE_MORE_DESC; ?>
132 </td>
133 </tr>
134 <tr valign="top">
135 <th scope="row"><?php echo TXT_POST_CONTENT; ?></th>
136 <td>
137 <textarea name="uam_post_content" style="width: 80%; height: 100px;" cols="40" rows="10"><?php
138 echo apply_filters('format_to_edit', $uamOptions['post_content']);
139 ?></textarea> <br />
140 <?php echo TXT_POST_CONTENT_DESC; ?>
141 </td>
142 </tr>
143 <tr valign="top">
144 <th scope="row"><?php echo TXT_DISPLAY_POST_COMMENT; ?></th>
145 <td>
146 <label for="uam_hide_post_comment_yes">
147 <input id="uam_hide_post_comment_yes" type="radio" name="uam_hide_post_comment" value="true" <?php
148 if ($uamOptions['hide_post_comment'] == "true") {
149 echo 'checked="checked"';
150 }
151 ?> />
152 <?php echo TXT_YES; ?>
153 </label>&nbsp;&nbsp;&nbsp;&nbsp;
154 <label for="uam_hide_post_comment_no">
155 <input id="uam_hide_post_comment_no" type="radio" name="uam_hide_post_comment" value="false" <?php
156 if ($uamOptions['hide_post_comment'] == "false") {
157 echo 'checked="checked"';
158 }
159 ?> />
160 <?php echo TXT_NO; ?>
161 </label> <br />
162 <?php echo TXT_DISPLAY_POST_COMMENT_DESC; ?>
163 </td>
164 </tr>
165 <tr valign="top">
166 <th scope="row"><?php echo TXT_POST_COMMENT_CONTENT; ?></th>
167 <td>
168 <input name="uam_post_comment_content" value="<?php echo $uamOptions['post_comment_content']; ?>" /> <br />
169 <?php echo TXT_POST_COMMENT_CONTENT_DESC; ?>
170 </td>
171 </tr>
172 <tr valign="top">
173 <th scope="row"><?php echo TXT_POST_COMMENTS_LOCKED; ?></th>
174 <td>
175 <label for="uam_post_comments_locked_yes">
176 <input id="uam_post_comments_locked_yes" type="radio" name="uam_post_comments_locked" value="true" <?php
177 if ($uamOptions['post_comments_locked'] == "true") {
178 echo 'checked="checked"';
179 }
180 ?> />
181 <?php echo TXT_YES; ?>
182 </label>&nbsp;&nbsp;&nbsp;&nbsp;
183 <label for="uam_post_comments_locked_no">
184 <input id="uam_post_comments_locked_no" type="radio" name="uam_post_comments_locked" value="false" <?php
185 if ($uamOptions['post_comments_locked'] == "false") {
186 echo 'checked="checked"';
187 }
188 ?> />
189 <?php echo TXT_NO; ?>
190 </label> <br />
191 <?php echo TXT_POST_COMMENTS_LOCKED_DESC; ?>
192 </td>
193 </tr>
194 </tbody>
195 </table>
196 <h3><?php echo TXT_PAGE_SETTING; ?></h3>
197 <p><?php echo TXT_PAGE_SETTING_DESC; ?></p>
198 <table class="form-table">
199 <tbody>
200 <tr>
201 <th><?php echo TXT_HIDE_PAGE; ?></th>
202 <td>
203 <label for="uam_hide_page_yes">
204 <input type="radio" id="uam_hide_page_yes" class="uam_hide_page" name="uam_hide_page" value="true" <?php
205 if ($uamOptions['hide_page'] == "true") {
206 echo 'checked="checked"';
207 }
208 ?> />
209 <?php echo TXT_YES; ?>
210 </label>&nbsp;&nbsp;&nbsp;&nbsp;
211 <label for="uam_hide_page_no">
212 <input type="radio" id="uam_hide_page_no" class="uam_hide_page" name="uam_hide_page" value="false" <?php
213 if ($uamOptions['hide_page'] == "false") {
214 echo 'checked="checked"';
215 }
216 ?> />
217 <?php echo TXT_NO; ?>
218 </label> <br />
219 <?php echo TXT_HIDE_PAGE_DESC; ?>
220 </td>
221 </tr>
222 </tbody>
223 </table>
224 <table class="form-table" id="uam_page_settings">
225 <tbody>
226 <tr valign="top">
227 <th scope="row"><?php echo TXT_DISPLAY_PAGE_TITLE; ?></th>
228 <td>
229 <label for="uam_hide_page_title_yes">
230 <input type="radio" id="uam_hide_page_title_yes" name="uam_hide_page_title" value="true" <?php
231 if ($uamOptions['hide_page_title'] == "true") {
232 echo 'checked="checked"';
233 }
234 ?> />
235 <?php echo TXT_YES; ?>
236 </label>&nbsp;&nbsp;&nbsp;&nbsp;
237 <label for="uam_hide_page_title_no">
238 <input type="radio" id="uam_hide_page_title_no" name="uam_hide_page_title" value="false" <?php
239 if ($uamOptions['hide_page_title'] == "false") {
240 echo 'checked="checked"';
241 }
242 ?> />
243 <?php echo TXT_NO; ?>
244 </label> <br />
245 <?php echo TXT_DISPLAY_PAGE_TITLE_DESC; ?>
246 </td>
247 </tr>
248 <tr>
249 <th><?php echo TXT_PAGE_TITLE; ?></th>
250 <td>
251 <input name="uam_page_title" value="<?php echo $uamOptions['page_title']; ?>" /> <br />
252 <?php echo TXT_PAGE_TITLE_DESC; ?>
253 </td>
254 </tr>
255 <tr>
256 <th><?php echo TXT_PAGE_CONTENT; ?></th>
257 <td>
258 <textarea name="uam_page_content" style="width: 80%; height: 100px;" cols="40" rows="10" ><?php
259 echo apply_filters('format_to_edit', $uamOptions['page_content']);
260 ?></textarea>
261 <br />
262 <?php echo TXT_PAGE_CONTENT_DESC; ?>
263 </td>
264 </tr>
265 <tr valign="top">
266 <th scope="row"><?php echo TXT_DISPLAY_PAGE_COMMENT; ?></th>
267 <td>
268 <label for="uam_hide_page_comment_yes">
269 <input id="uam_hide_page_comment_yes" type="radio" name="uam_hide_page_comment" value="true" <?php
270 if ($uamOptions['hide_page_comment'] == "true") {
271 echo 'checked="checked"';
272 }
273 ?> />
274 <?php echo TXT_YES; ?>
275 </label>&nbsp;&nbsp;&nbsp;&nbsp;
276 <label for="uam_hide_page_comment_no">
277 <input id="uam_hide_page_comment_no" type="radio" name="uam_hide_page_comment" value="false" <?php
278 if ($uamOptions['hide_page_comment'] == "false") {
279 echo 'checked="checked"';
280 }
281 ?> />
282 <?php echo TXT_NO; ?>
283 </label> <br />
284 <?php echo TXT_DISPLAY_PAGE_COMMENT_DESC; ?>
285 </td>
286 </tr>
287 <tr valign="top">
288 <th scope="row"><?php echo TXT_PAGE_COMMENT_CONTENT; ?></th>
289 <td>
290 <input name="uam_page_comment_content" value="<?php echo $uamOptions['page_comment_content']; ?>" /> <br />
291 <?php echo TXT_PAGE_COMMENT_CONTENT_DESC; ?>
292 </td>
293 </tr>
294 <tr valign="top">
295 <th scope="row"><?php echo TXT_PAGE_COMMENTS_LOCKED; ?></th>
296 <td>
297 <label for="uam_page_comments_locked_yes">
298 <input id="uam_page_comments_locked_yes" type="radio" name="uam_page_comments_locked" value="true" <?php
299 if ($uamOptions['page_comments_locked'] == "true") {
300 echo 'checked="checked"';
301 }
302 ?> />
303 <?php echo TXT_YES; ?>
304 </label>&nbsp;&nbsp;&nbsp;&nbsp;
305 <label for="uam_page_comments_locked_no">
306 <input id="uam_page_comments_locked_no" type="radio" name="uam_page_comments_locked" value="false" <?php
307 if ($uamOptions['page_comments_locked'] == "false") {
308 echo 'checked="checked"';
309 }
310 ?> />
311 <?php echo TXT_NO; ?>
312 </label> <br />
313 <?php echo TXT_PAGE_COMMENTS_LOCKED_DESC; ?>
314 </td>
315 </tr>
316 </tbody>
317 </table>
318 <h3><?php echo TXT_FILE_SETTING; ?></h3>
319 <p><?php echo TXT_FILE_SETTING_DESC; ?></p>
320 <table class="form-table">
321 <tbody>
322 <tr>
323 <th><?php echo TXT_LOCK_FILE; ?></th>
324 <td>
325 <label for="uam_lock_file_yes">
326 <input type="radio" id="uam_lock_file_yes" class="uam_lock_file" name="uam_lock_file" value="true" <?php
327 if ($uamOptions['lock_file'] == "true") {
328 echo 'checked="checked"';
329 }
330 ?> />
331 <?php echo TXT_YES; ?>
332 </label>&nbsp;&nbsp;&nbsp;&nbsp;
333 <label for="uam_lock_file_no">
334 <input type="radio" id="uam_lock_file_no" class="uam_lock_file" name="uam_lock_file" value="false" <?php
335 if ($uamOptions['lock_file'] == "false") {
336 echo 'checked="checked"';
337 }
338 ?> />
339 <?php echo TXT_NO; ?>
340 </label> <br />
341 <?php echo TXT_LOCK_FILE_DESC; ?>
342 </td>
343 </tr>
344 </tbody>
345 </table>
346 <table class="form-table" id="uam_file_settings">
347 <tbody>
348 <?php
349 $permaStruc = get_option('permalink_structure');
350
351 if (empty($permaStruc)) {
352 ?>
353 <tr>
354 <th><?php
355 echo TXT_DOWNLOAD_FILE_TYPE; ?></th>
356 <td>
357 <label for="uam_lock_file_types_all">
358 <input type="radio" id="uam_lock_file_types_all" name="uam_lock_file_types" value="all" <?php
359 if ($uamOptions['lock_file_types'] == "all") {
360 echo 'checked="checked"';
361 } ?> />
362 <?php echo TXT_ALL; ?>
363 </label>&nbsp;&nbsp;&nbsp;&nbsp;
364 <label for="uam_lock_file_types_selected">
365 <input type="radio" id="uam_lock_file_types_selected" name="uam_lock_file_types" value="selected" <?php
366 if ($uamOptions['lock_file_types'] == "selected") {
367 echo 'checked="checked"';
368 }
369 ?> />
370 <?php echo TXT_SELECTED_FILE_TYPES; ?>
371 </label>
372 <input name="uam_locked_file_types" value="<?php echo $uamOptions['locked_file_types']; ?>" />
373 <label for="uam_lock_file_types_not_selected">
374 <input type="radio" id="uam_lock_file_types_not_selected" name="uam_lock_file_types" value="not_selected" <?php
375 if ($uamOptions['lock_file_types'] == "not_selected") {
376 echo 'checked="checked"';
377 }
378 ?> />
379 <?php echo TXT_NOT_SELECTED_FILE_TYPES; ?>
380 </label>
381 <input name="uam_not_locked_file_types" value="<?php echo $uamOptions['not_locked_file_types']; ?>" /> <br />
382 <?php echo TXT_DOWNLOAD_FILE_TYPE_DESC; ?>
383 </td>
384 </tr>
385 <tr>
386 <th><?php echo TXT_FILE_PASS_TYPE; ?></th>
387 <td>
388 <label for="uam_file_pass_type_admin">
389 <input type="radio" id="uam_file_pass_type_admin" name="uam_file_pass_type" value="admin" <?php
390 if ($uamOptions['file_pass_type'] == "admin") {
391 echo 'checked="checked"';
392 }
393 ?> />
394 <?php echo TXT_CURRENT_LOGGEDIN_ADMIN_PASS; ?>
395 </label>&nbsp;&nbsp;&nbsp;&nbsp;
396 <label for="uam_file_pass_type_random">
397 <input type="radio" id="uam_file_pass_type_random" name="uam_file_pass_type" value="random" <?php
398 if ($uamOptions['file_pass_type'] == "random") {
399 echo 'checked="checked"';
400 }
401 ?> />
402 <?php echo TXT_RANDOM_PASS; ?>
403 </label> <br />
404 <?php echo TXT_FILE_PASS_TYPE_DESC; ?>
405 </td>
406 </tr>
407 <?php
408 }
409 ?>
410 <tr>
411 <th><?php echo TXT_DOWNLOAD_TYPE; ?></th>
412 <td>
413 <label for="uam_download_type_normal">
414 <input type="radio" id="uam_download_type_normal" name="uam_download_type" value="normal" <?php
415 if ($uamOptions['download_type'] == "normal") {
416 echo 'checked="checked"';
417 }
418 ?> />
419 <?php echo TXT_NORMAL; ?>
420 </label>&nbsp;&nbsp;&nbsp;&nbsp;
421 <label for="uam_download_type_fopen">
422 <input type="radio" id="uam_download_type_fopen" name="uam_download_type" value="fopen" <?php
423 if ($uamOptions['download_type'] == "fopen") {
424 echo 'checked="checked"';
425 }
426 ?> />
427 <?php echo TXT_FOPEN; ?>
428 </label> <br />
429 <?php echo TXT_DOWNLOAD_TYPE_DESC; ?>
430 </td>
431 </tr>
432 </tbody>
433 </table>
434 <h3><?php echo TXT_OTHER_SETTING; ?></h3>
435 <p><?php echo TXT_OTHER_SETTING_DESC; ?></p>
436 <table class="form-table">
437 <tbody>
438 <tr>
439 <th><?php echo TXT_PROTECT_FEED; ?></th>
440 <td>
441 <label for="uam_protect_feed_yes">
442 <input type="radio" id="uam_protect_feed_yes" name="uam_protect_feed" value="true" <?php
443 if ($uamOptions['protect_feed'] == "true") {
444 echo 'checked="checked"';
445 }
446 ?> />
447 <?php echo TXT_YES; ?>
448 </label>&nbsp;&nbsp;&nbsp;&nbsp;
449 <label for="uam_protect_feed_no">
450 <input type="radio" id="uam_protect_feed_no" name="uam_protect_feed" value="false" <?php
451 if ($uamOptions['protect_feed'] == "false") {
452 echo 'checked="checked"';
453 }
454 ?> />
455 <?php echo TXT_NO; ?>
456 </label> <br />
457 <?php echo TXT_PROTECT_FEED_DESC; ?>
458 </td>
459 </tr>
460 <tr>
461 <th><?php echo TXT_HIDE_EMPTY_CATEGORIES; ?></th>
462 <td>
463 <label for="uam_hide_empty_categories_yes">
464 <input type="radio" id="uam_hide_empty_categories_yes" name="uam_hide_empty_categories" value="true" <?php
465 if ($uamOptions['hide_empty_categories'] == "true") {
466 echo 'checked="checked"';
467 }
468 ?> />
469 <?php echo TXT_YES; ?>
470 </label>&nbsp;&nbsp;&nbsp;&nbsp;
471 <label for="uam_hide_empty_categories_no">
472 <input type="radio" id="uam_hide_empty_categories_no" name="uam_hide_empty_categories" value="false" <?php
473 if ($uamOptions['hide_empty_categories'] == "false") {
474 echo 'checked="checked"';
475 }
476 ?> />
477 <?php echo TXT_NO; ?>
478 </label> <br />
479 <?php echo TXT_HIDE_EMPTY_CATEGORIES_DESC; ?>
480 </td>
481 </tr>
482 <tr>
483 <th><?php echo TXT_REDIRECT; ?></th>
484 <td>
485 <label for="uam_redirect_no">
486 <input type="radio" id="uam_redirect_no" name="uam_redirect" value="false" <?php
487 if ($uamOptions['redirect'] == "false") {
488 echo 'checked="checked"';
489 }
490 ?> />
491 <?php echo TXT_NO; ?>
492 </label>&nbsp;&nbsp;&nbsp;&nbsp;
493 <label for="uam_redirect_blog">
494 <input type="radio" id="uam_redirect_blog" name="uam_redirect" value="blog" <?php
495 if ($uamOptions['redirect'] == "blog") {
496 echo 'checked="checked"';
497 }
498 ?> />
499 <?php echo TXT_REDIRECT_TO_BOLG; ?>
500 </label>&nbsp;&nbsp;&nbsp;&nbsp;
501 <label for="uam_redirect_custom_page">
502 <input type="radio" id="uam_redirect_custom_page" name="uam_redirect" value="custom_page" <?php
503 if ($uamOptions['redirect'] == "custom_page") {
504 echo 'checked="checked"';
505 }
506 ?> />
507 <?php echo TXT_REDIRECT_TO_PAGE; ?>
508 </label>
509 <select name="uam_redirect_custom_page">
510 <?php
511 $pages = get_pages('sort_column=menu_order');
512 if (isset($pages)) {
513 foreach ($pages as $page) {
514 echo '<option value="' . $page->ID.'"';
515 if ($uamOptions['redirect_custom_page'] == $page->ID) {
516 echo ' selected="selected"';
517 }
518 echo '>' . $page->post_title . '</option>';
519 }
520 }
521 ?>
522 </select>&nbsp;&nbsp;&nbsp;&nbsp;
523 <label for="uam_redirect_custom_url">
524 <input type="radio" id="uam_redirect_custom_url" name="uam_redirect" value="custom_url" <?php
525 if ($uamOptions['redirect'] == "custom_url") {
526 echo 'checked="checked"';
527 }
528 ?> />
529 <?php echo TXT_REDIRECT_TO_URL; ?>
530 </label>
531 <input name="uam_redirect_custom_url" value="<?php echo $uamOptions['redirect_custom_url']; ?>" /> <br />
532 <?php echo TXT_REDIRECT_DESC; ?>
533 </td>
534 </tr>
535 <tr>
536 <th><?php echo TXT_LOCK_RECURSIVE; ?></th>
537 <td>
538 <label for="uam_lock_recursive_yes">
539 <input type="radio" id="uam_lock_recursive_yes" name="uam_lock_recursive" value="true" <?php
540 if ($uamOptions['lock_recursive'] == "true") {
541 echo 'checked="checked"';
542 }
543 ?> />
544 <?php echo TXT_YES; ?>
545 </label>&nbsp;&nbsp;&nbsp;&nbsp;
546 <label for="uam_lock_recursive_no">
547 <input type="radio" id="uam_lock_recursive_no" name="uam_lock_recursive" value="false" <?php
548 if ($uamOptions['lock_recursive'] == "false") {
549 echo 'checked="checked"';
550 }
551 ?> />
552 <?php echo TXT_NO; ?>
553 </label> <br />
554 <?php echo TXT_LOCK_RECURSIVE_DESC; ?></td>
555 </tr>
556 <tr>
557 <th><?php echo TXT_AUTHORS_HAS_ACCESS_TO_OWN; ?></th>
558 <td>
559 <label for="uam_authors_has_access_to_own_yes">
560 <input type="radio" id="uam_authors_has_access_to_own_yes" name="uam_authors_has_access_to_own" value="true" <?php
561 if ($uamOptions['authors_has_access_to_own'] == "true") {
562 echo 'checked="checked"';
563 }
564 ?> />
565 <?php echo TXT_YES; ?>
566 </label>&nbsp;&nbsp;&nbsp;&nbsp;
567 <label for="uam_authors_has_access_to_own_no">
568 <input type="radio" id="uam_authors_has_access_to_own_no" name="uam_authors_has_access_to_own" value="false" <?php
569 if ($uamOptions['authors_has_access_to_own'] == "false") {
570 echo 'checked="checked"';
571 }
572 ?> />
573 <?php echo TXT_NO; ?>
574 </label> <br />
575 <?php echo TXT_AUTHORS_HAS_ACCESS_TO_OWN_DESC; ?></td>
576 </tr>
577 <tr>
578 <th><?php echo TXT_BLOG_ADMIN_HINT; ?></th>
579 <td>
580 <label for="uam_blog_admin_hint_yes">
581 <input type="radio" id="uam_blog_admin_hint_yes" name="uam_blog_admin_hint" value="true" <?php
582 if ($uamOptions['blog_admin_hint'] == "true") {
583 echo 'checked="checked"';
584 }
585 ?> />
586 <?php echo TXT_YES; ?>
587 </label>&nbsp;&nbsp;&nbsp;&nbsp;
588 <label for="uam_blog_admin_hint_no">
589 <input type="radio" id="uam_blog_admin_hint_no" name="uam_blog_admin_hint" value="false" <?php
590 if ($uamOptions['blog_admin_hint'] == "false") {
591 echo 'checked="checked"';
592 }
593 ?> />
594 <?php echo TXT_NO; ?>
595 </label> <br />
596 <?php echo TXT_BLOG_ADMIN_HINT_DESC; ?>
597 </td>
598 </tr>
599 <tr>
600 <th><?php echo TXT_BLOG_ADMIN_HINT_TEXT; ?></th>
601 <td>
602 <input name="uam_blog_admin_hint_text" value="<?php echo $uamOptions['blog_admin_hint_text']; ?>" /> <br />
603 <?php echo TXT_BLOG_ADMIN_HINT_TEXT_DESC; ?>
604 </td>
605 </tr>
606 <tr>
607 <th><?php echo TXT_FULL_ACCESS_LEVEL; ?></th>
608 <td>
609 <input name="uam_full_access_level" value="<?php echo $uamOptions['full_access_level']; ?>" /> <br />
610 <?php echo TXT_FULL_ACCESS_LEVEL_DESC; ?>
611 </td>
612 </tr>
613 </tbody>
614 </table>
615 <div class="submit">
616 <input type="submit" name="update_uam_settings" value="<?php echo TXT_UPDATE_SETTING; ?>" />
617 </div>
618 </form>
619 </div>